package com.engine4cloud.tdf.supervision.dto.update;

import com.engine4cloud.tdf.common.core.constant.enums.InvAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "调查评估审核-状态-请求对象")
public class DcpgPreActionUpdateDTO implements Serializable {
    /**
     * 调查评估编号
     */
    @Schema(description = "调查评估编号", example = "123456789")
    @NotBlank(message = "调查评估编号不能为空")
    private String dcpgbh;

    @Schema(description = "审核动作", example = "VILLAGE_ACCEPT")
    @NotNull(message = "审核动作不能为空")
    private InvAuditActionStatusEnum action;
}
